﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OfficeServer
{
    class MobileInfo
    {
        private String _sessionId = null;        

        public String SessionId
        {
            get { return _sessionId; }
            set { _sessionId = value; }
        }

        private PeerData _clientInfo;

        public PeerData ClientInfo
        {
            get { return _clientInfo; }
            set { _clientInfo = value; }
        }

        
        private String _ip = "";

        public String Ip
        {
            get { return _ip; }
            set { _ip = value; }
        }
        private int _port;

        public int Port
        {
            get { return _port; }
            set { _port = value; }
        }

        private DateTime _lastConnect;

        public DateTime LastConnect
        {
            get { return _lastConnect; }
            set { _lastConnect = value; }
        }

        private String _codeValidation;

        public String CodeValidation
        {
            get { return _codeValidation; }
            set { _codeValidation = value; }
        }

        private int _status = Constant.STATUS_NOT_CONNECTED;

        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }

        private PeerData _client;

        public PeerData Client
        {
            get { return _client; }
            set { _client = value; }
        }

        

        
    }
}
